import request from "@/util/request";


//发布职友圈
export function addShare(data){
	return request({
		url:'/addShare',
		method:'POST',
		data
	})
}

//职友圈列表
export function getCircleList(data){
	return request({
		url:'/getShareCircle',
		method:'get',
		data
	})
}

//点赞
export function doOperateLike(data){
	return request({
		url:'/insertLikes',
		method:'post',
		data
	})
}

//取消点赞
export function doOperateNoLike(data){
	return request({
		url:'/delLikeAndCom',
		method:'post',
		data
	})
}

//评论
export function doOperateComment(data){
	return request({
		url:'/insertLikes',
		method:'post',
		data
	})
}

//查询某条职友圈所有评论
export function findComByIdApi(data){
	return request({
		url:'/findComById',
		method:'GET',
		data
	})
}


//删除评论
export function deleteComment(data){
	return request({
		url:'/delCom',
		method:'post',
		data
	})
}

